<?php 

namespace app\upgrade\controller;

class IndexController extends \app\BaseController {
	
	public function index(){
		$files = dirname(dirname(dirname(dirname(__DIR__)))) . '/upgrade.php';
		include $files;
		return $this->json(['data' => '更新成功！']);
	}
}